﻿using System;
using System.Runtime.Serialization;

namespace PGun.MVC.Core
{
    [Serializable]
    public class PGunException : Exception
    {
        public PGunException()
        {}

        public  PGunException(string message) : base(message)
        {}

        public PGunException(string messageFormat, params object[] args)
            : base(string.Format(messageFormat, args))
        { }

        protected PGunException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        { }

        public PGunException(string message, Exception innerException)
            : base(message, innerException)
        { }
    }
}
